aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/app/api/auth/[...nextauth]/route.ts
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-02-23 16:04:49 -0700
committerDhravya <[email protected]>2024-02-23 16:04:49 -0700
commitaa1b57bbcd99da4c6d68c145f7c07ea7bd35c8dc (patch)
treef5ab247b154a21bbebbe56cca0d7f3397219b7c3 /apps/web/src/app/api/auth/[...nextauth]/route.ts
parenthide bun lockfile (diff)
downloadsupermemory-aa1b57bbcd99da4c6d68c145f7c07ea7bd35c8dc.tar.xz
supermemory-aa1b57bbcd99da4c6d68c145f7c07ea7bd35c8dc.zip
chaos
Diffstat (limited to 'apps/web/src/app/api/auth/[...nextauth]/route.ts')
-rw-r--r--apps/web/src/app/api/auth/[...nextauth]/route.ts9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/web/src/app/api/auth/[...nextauth]/route.ts b/apps/web/src/app/api/auth/[...nextauth]/route.ts
index 1570f886..db7d1fb8 100644
--- a/apps/web/src/app/api/auth/[...nextauth]/route.ts
+++ b/apps/web/src/app/api/auth/[...nextauth]/route.ts
@@ -1,7 +1,2 @@
-import NextAuth from "next-auth";
-
-import { authOptions } from "@/server/auth";
-
-// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
-const handler = NextAuth(authOptions);
-export { handler as GET, handler as POST };
+export { GET, POST } from "@/server/auth";
+export const runtime = "edge";